package com.stenio.fancat.mapper.Behavior;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stenio.fancat.domain.behavior.BehaviorLog;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BehaviorLogMapper extends BaseMapper<BehaviorLog> {


    List<BehaviorLog> selectBehaviorLogListbyBid(String behaviorId, String userId,String babyId);

    Integer deleteBehaviorByOid(String userId,String operationId);

    List<String> selectOperationIds(String userId);

    List<BehaviorLog> selectBehaviorLogListByVisible(String userId);

    BehaviorLog selectBehaviorLogByTwoId(String userId,String operationId);

    BehaviorLog selectIfIssue(String behaviorId, String userId,String babyId);

}
